// 一些公共的代码逻辑

import {ref} from 'vue'

export const PageMethod = () =>{
  const page = ref(1)
  const pageSize = ref(10)
  const pageChane = (val:any) =>{
    console.log(val)
    page.value = val.page
    pageSize.value = val.limit
  }
  return{
    page,
    pageSize,
    pageChane,
  }
}